/**
 * 
 */
package org.skyeye.modeling.model;

import java.util.ArrayList;
import java.util.List;

/**
 * @author Vivian
 * @date 2017-7-3
 */
public class MachBean {
	
	private String machname;
	private List<DevBean> devBeans = new ArrayList<DevBean>();
	public String getMachname() {
		return machname;
	}
	public void setMachname(String machname) {
		this.machname = machname;
	}
	public List<DevBean> getDevBeans() {
		return devBeans;
	}
	public void setDevBeans(List<DevBean> devBeans) {
		this.devBeans = devBeans;
	}
	public void addDevBeans(DevBean devBean) {
		this.devBeans.add(devBean);
	}
	public void removeDevBeans(DevBean devBean) {
		this.devBeans.remove(devBean);
	}
	
	public void addAllDevBeans(List<DevBean> devBeans) {
		this.devBeans.addAll(devBeans);

	}

}
